* {
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.container {
    width: 355px;
    margin: 0 auto;
}

/* 轮播图样式 */
main {
    overflow: scroll;

    .swiper-container {
        width: 100%;
        height: 200px;
        img{
            width: 100%;
            height: 200px;
        }
    }

    .mainList {
        margin-top: 20px;
        margin-bottom: 20px;
        .first {
            display: flex;
            justify-content: space-between;

            .rank {
                width: 150px;
                height: 150px;
                background-image: url(../../assets/imgs/index-card-rank.png);
                background-repeat: no-repeat;
                background-position: -14px 12px;
                background-size: 130px;

                div {
                    background-color: rgba(21, 146, 204, 1);
                    opacity: 0.73;
                    width: 150px;
                    height: 150px;

                    p:nth-child(1) {
                        font-weight: 800;
                        color: #004e73;
                        left: 12px;
                        top: 15px;
                    }

                    p:nth-child(2) {
                        font-size: 60px;
                        font-weight: 500;
                        color: #fff;
                        right: 9px;
                        bottom: 16px;
                    }
                }
            }

            .cunula {
                width: 190px;
                height: 150px;
                background-color: #9ad5f4;
                border-radius: 15px;

                div {
                    background-image: url(../../assets/imgs/index-card-sum.png);
                    background-repeat: no-repeat;
                    background-size: 100px;
                    background-position: 11px 40px;
                    width: 190px;
                    height: 150px;

                    p:nth-child(1) {
                        color: #004e73;
                        font-weight: 800;
                        left: 15px;
                        top: 15px;
                    }

                    p:nth-child(2) {
                        color: #004e73;
                        font-weight: 800;
                        font-size: 20px;
                        right: 20px;
                        bottom: 25px;
                        padding: 3px 5px 3px 5px;
                        border: 2px solid #004e73;
                        border-radius: 30px;
                        line-height: 35px;
                        padding-left: 7px;
                    }
                }
            }
        }

        .second {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;

            .sportData {
                width: 170px;
                height: 110px;
                background-image: url(../../assets/imgs/index-card-data.png);
                background-repeat: no-repeat;
                background-size: 180px;

                p:nth-child(1) {
                    left: 12px;
                    top: 12px;
                    font-size: 16px;
                    font-weight: 600;
                    color: #fff;
                }
            }

            .sportPrize {
                width: 175px;
                height: 110px;
                background-color: #93b9ce;

                div {
                    background-image: url(../../assets/imgs/index-card-badge.png);
                    width: 175px;
                    height: 110px;
                    background-position: 7px 8px;
                    background-repeat: no-repeat;
                    background-size: 100px;

                    p:nth-child(1) {
                        color: #005177;
                        font-weight: 700;
                        left: 17px;
                        top: 10px;
                    }

                    p:nth-child(2) {
                        color: #005177;
                        font-size: 16px;
                        text-align: right;
                        font-weight: 700;
                        right: 10px;
                        bottom: 0px;

                        span {
                            font-size: 60px;
                            font-weight: 500;
                        }
                    }
                }
            }
        }

        .third {
            width: 355px;
            height: 125px;
            background-image: url(../../assets/imgs/index-swiper-bg2.jpg);
            background-repeat: no-repeat;
            background-size: 355px;
            background-position: 0 -17px;
            margin-top: 15px;

            p {
                color: #fff;
                font-weight: 600;
                left: 10px;
                top: 10px
            }
        }

        .forth {
            width: 355px;
            height: 125px;
            background-image: url(../../assets/imgs/index-card-run.png);
            background-repeat: no-repeat;
            background-size: 355px;
            background-position: 0 -32px;
            margin-top: 15px;

            p {
                color: #fff;
                font-weight: 600;
                left: 10px;
                top: 10px
            }
        }

    }
}

